/*
 * @Description: In User Settings Edit
 * @Author: YJP
 * @Date: 2019-08-13 15:47:58
 * @LastEditTime: 2019-12-11 00:13:59
 * @LastEditors: YJP
 */
import 'amfe-flexible';
import Vue from './vant';
import App from './App';
import { router } from './router';


import "./assets/css/reset.css";



import VueI18n from 'vue-i18n'
import messages from "./lang/index"
Vue.use(VueI18n)
const i18n = new VueI18n({
  //定义默认语言
  locale: 'zhCH', 
  messages
})

/*vue上挂在vant i18n方法*/
import {Locals} from './lang/vantLocal.js'
Vue.prototype.$Local = Locals


new Vue({
  router,
  i18n,
  el: '#app',
  render: h => h(App)
});

